package com.ruoyi.platform.mapper;

import java.util.List;
import com.ruoyi.platform.domain.TbBusinessCertificate;

/**
 * 经营许可证信息Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public interface TbBusinessCertificateMapper 
{
    /**
     * 查询经营许可证信息
     * 
     * @param serviceInstitutionId 经营许可证信息主键
     * @return 经营许可证信息
     */
    public TbBusinessCertificate selectTbBusinessCertificateByServiceInstitutionId(Long serviceInstitutionId);

    /**
     * 查询经营许可证信息列表
     * 
     * @param tbBusinessCertificate 经营许可证信息
     * @return 经营许可证信息集合
     */
    public List<TbBusinessCertificate> selectTbBusinessCertificateList(TbBusinessCertificate tbBusinessCertificate);

    /**
     * 新增经营许可证信息
     * 
     * @param tbBusinessCertificate 经营许可证信息
     * @return 结果
     */
    public int insertTbBusinessCertificate(TbBusinessCertificate tbBusinessCertificate);

    /**
     * 修改经营许可证信息
     * 
     * @param tbBusinessCertificate 经营许可证信息
     * @return 结果
     */
    public int updateTbBusinessCertificate(TbBusinessCertificate tbBusinessCertificate);

    /**
     * 删除经营许可证信息
     * 
     * @param serviceInstitutionId 经营许可证信息主键
     * @return 结果
     */
    public int deleteTbBusinessCertificateByServiceInstitutionId(Long serviceInstitutionId);

    /**
     * 批量删除经营许可证信息
     * 
     * @param serviceInstitutionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbBusinessCertificateByServiceInstitutionIds(Long[] serviceInstitutionIds);
}
